package com.zz.ecommerce.searchManage.tax;

import com.zz.ecommerce.common.GridRequest;
import com.zz.ecommerce.common.GridResult;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import java.util.ArrayList;

/**
 * 货物税单查询
 */
@Controller
@RequestMapping("searchManage/tax")
public class TaxSearchController {

    /**
     * 跳转到初始化查询页面
     *
     * @return
     */
    @RequestMapping("/init")
    public String init() {
        return "searchManage/tax/index";
    }

    /**
     * 货物税单查询
     *
     * @param request
     * @return
     */
    @RequestMapping("/queryTaxList")
    @ResponseBody
    public GridResult queryTaxList(GridRequest request) {
        return new GridResult(new ArrayList(), request, 0);
    }
}
